using System;
using Rdl;

namespace GTame.ReportParser
{

    public class DataLabelType
    {

        private DataLabelTypePosition _Position;
        private string _Rotation;
        private StyleType _Style;
        private string _Value;
        private Nullable<bool> _Visible;

        public DataLabelTypePosition Position
        {
            get
            {
                return _Position;
            }
            set
            {
                _Position = value;
            }
        }

        public string Rotation
        {
            get
            {
                return _Rotation;
            }
            set
            {
                _Rotation = value;
            }
        }

        public StyleType Style
        {
            get
            {
                if (_Style == null)
                    _Style = new StyleType();
                return _Style;
            }
            set
            {
                _Style = value;
            }
        }

        public string Value
        {
            get
            {
                return _Value;
            }
            set
            {
                _Value = value;
            }
        }

        public Nullable<bool> Visible
        {
            get
            {
                return _Visible;
            }
            set
            {
                _Visible = value;
            }
        }

        public DataLabelType()
        {
            _Visible = new Nullable<bool>[]();
        }

        public DataLabelType Write()
        {
            // trial
            return null;
        }

    } // class DataLabelType

}

